package com.member.shop.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.member.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

/**
 * 用户层级对象 sys_biz_other_user
 *
 * @author wangxin
 * @date 2024-06-11
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_biz_other_user")
public class SysBizOtherUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 层级
     */
    @Excel(name = "层级")
    private String level;

    /**
     * 用户姓名
     */
    @Excel(name = "用户姓名")
    private String userName;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private String userCode;

    /**
     * 用户级别
     */
    @Excel(name = "用户级别")
    private String userMember;

    /**
     * 用户手机号
     */
    @Excel(name = "用户手机号")
    private String userPhone;

    /**
     * 推荐人
     */
    @Excel(name = "推荐人")
    private String reference;

    /**
     * 推荐人姓名
     */
    @Excel(name = "推荐人姓名")
    private String referenceName;

    /**
     * 推荐人手机号
     */
    @Excel(name = "推荐人手机号")
    private String referencePhone;

    /**
     * 直邀人
     */
    @Excel(name = "直邀人")
    private Long invitation;

    /**
     * 总邀人
     */
    @Excel(name = "总邀人")
    private Long invitationAll;

    @TableField(exist = false)
    private String searchValue;

}
